export const ifTitle=(arr, newTitle)=> {
    // [{path:"",title:""}]
    let b = true; //true表示不在
    arr.forEach(item => {
      let { title } = item;
      if (title == newTitle) {
        b = false;
      }
    });
    return b;
  }
